<?php
/**
 * Created by PhpStorm.
 * User: yu
 * Date: 2017/8/6
 * Time: 下午3:56
 */

namespace app\api\validate;


use think\Validate;

class TestValidate extends Validate
{
	protected $rule = [
		'name'=>'require|max:10',
		'email'=>'email'
	];
}